/**
 * 0填充字符串
 * @param {String} str 字符串
 * @param {Number} length 补全长度
 */
export const sliceString = (str, length) => {
  return ('' + str).padStart(length, '0')
}
